if (self.CavalryLogger) { CavalryLogger.start_js(["r\/9j8"]); } __d("AdsUEditorCampaignDeliveryChangeOptimizationGoalActionFlux",[],(function(a,b,c,d,e,f){"use strict";e.exports={actionType:"AdsUEditorCampaignDeliveryChangeOptimizationGoalActionPlugin"}}),null); __d("AdsMessengerJSONTemplateType",[],(function(a,b,c,d,e,f){"use strict";a=Object.freeze({GENERIC:"generic",BUTTON:"button"});e.exports=a}),null); __d("AdsLeadGenAdGroupUtils",["AdsUnifiedCreativeAPIFields"],(function(a,b,c,d,e,f){"use strict";a={isLeadGenFormEnabled:function(a,c){a=b("AdsUnifiedCreativeAPIFields").callToActionValue.getValue(a,c);c=a?a.get("lead_gen_form_id"):null;return!!c}};e.exports=a}),null); __d("adsUEditorSelectedCampaignIDsSelector",["adsCreateStoreSelector"],(function(a,b,c,d,e,f){"use strict";a=b("adsCreateStoreSelector")(function(a){a=a.selectedCampaignIDsSelector;return a.getStores()},function(a){a=a.selectedCampaignIDsSelector;return a()},e.id+".selector");e.exports=a}),null); __d("adsUEditorAdObjectsLoadObjectForSelectedCampaignsSelector",["LoadObject","adsCreateStoreSelector","adsUEditorCampaignGroupSelector","adsUEditorCampaignSelector","adsUEditorSelectedCampaignIDsSelector","shallowEqual"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=function(a,c){return a.length===c.length&&a.every(function(a,d){return b("shallowEqual")(a,c[d])})},h=[],i=b("LoadObject").withValue([]);a=b("adsCreateStoreSelector")(function(a){return[].concat(b("adsUEditorCampaignGroupSelector").getStores(a),b("adsUEditorCampaignSelector").getStores(a),b("adsUEditorSelectedCampaignIDsSelector").getStores(a))},function(a){__p&&__p();var c=[],d=b("adsUEditorSelectedCampaignIDsSelector")(a);for(var d=d,e=Array.isArray(d),f=0,d=e?d:d[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var j;if(e){if(f>=d.length)break;j=d[f++]}else{f=d.next();if(f.done)break;j=f.value}j=j;j=b("adsUEditorCampaignSelector")(babelHelpers["extends"]({},a,{campaignID:j}));if(!j)return b("LoadObject").loading();var k=j.campaign_id;k=b("adsUEditorCampaignGroupSelector")(babelHelpers["extends"]({},a,{campaignGroupID:k}));if(!k)return b("LoadObject").loading();c.push({campaign:j,campaignGroup:k})}if(g(h,c))return i;h=c;i=b("LoadObject").withValue(c);return i},e.id+".adsUEditorAdObjectsLoadObjectForSelectedCampaignsSelector");e.exports=a}),null); __d("adsUEditorAdObjectsForSelectedCampaignsSelector",["FBLogger","adsCreateSelector","adsUEditorAdObjectsLoadObjectForSelectedCampaignsSelector"],(function(a,b,c,d,e,f){"use strict";a=b("adsCreateSelector")([b("adsUEditorAdObjectsLoadObjectForSelectedCampaignsSelector")],function(a){if(a.isDone()&&a.hasValue())return a.getValueEnforcing();b("FBLogger")("ads").warn("This function is used before Campaign AdObjects are loaded!");return[]},{name:e.id+".adsUEditorAdObjectsForSelectedCampaignsSelector"});e.exports=a}),null); __d("adsUEditorSelectedRawCampaignsSelector",["adsCreateStoreSelector"],(function(a,b,c,d,e,f){"use strict";a=b("adsCreateStoreSelector")(function(a){a=a.selectedRawCampaignsSelector;return a.getStores()},function(a){a=a.selectedRawCampaignsSelector;return a()},e.id+".adsUEditorSelectedRawCampaignsSelector");e.exports=a}),null); __d("AdsUEditorCampaignSelectors",["AdsAPICampaignRecordUtils","AdsPlacementAPISpecReaderUtils","AdsPlacementEligibilityInfoUtils","AdsPromotedObjectTypeUIProvider","LoadObject","adsCanBoostCatalogOnMarketplaceSelector","adsCreateSelector","adsCreateStoreSelector","adsMemoizeByReference","adsUEditorAccountSelector_LEGACY","adsUEditorAdObjectsForSelectedCampaignsSelector","adsUEditorBlockListAccountListSelector","adsUEditorSelectedCampaignsSelector","adsUEditorSelectedRawCampaignsSelector","immutable"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("adsCreateStoreSelector")(b("adsCanBoostCatalogOnMarketplaceSelector").getStores(),function(a){var c,d=a.adObject;a=a.account;d=(c=(c=d.campaign.promoted_object)==null?void 0:c.product_catalog_id)!=null?c:(c=d.campaignGroup.promoted_object)==null?void 0:c.product_catalog_id;return b("adsCanBoostCatalogOnMarketplaceSelector")({catalogIDLoadObject:b("LoadObject").withValue(d),accountCapabilitiesLoadObject:b("LoadObject").withValue(a.capabilities)})},e.id+".getCanBoostCatalogForAdObjectSelector");a=b("adsCreateStoreSelector")(function(a){return[].concat(b("adsUEditorAccountSelector_LEGACY").getStores(a),b("adsUEditorBlockListAccountListSelector").getStores(a),b("adsUEditorAdObjectsForSelectedCampaignsSelector").getStores(a),g.getStores())},function(a){var c=b("adsUEditorAccountSelector_LEGACY")(a),d=b("adsUEditorBlockListAccountListSelector")(a);a=b("adsUEditorAdObjectsForSelectedCampaignsSelector")(a);return{account:c,accountBlockLists:d,adObjectsList:a,canBoostCatalogOnMarketplaceForAdObject:function(a){return g({adObject:a,account:c})}}},e.id+".eligibilityInformationDependencies");c=b("adsCreateSelector")([a],function(a){var c=a.account,d=a.accountBlockLists,e=a.adObjectsList;a=a.canBoostCatalogOnMarketplaceForAdObject;return b("AdsPlacementEligibilityInfoUtils").buildEligibilityInformationFromAdObjectsList(c.capabilities,d,e,a)},{name:e.id+".eligibilityInformation"});d=b("adsCreateSelector")([a],function(a){var c=a.account,d=a.accountBlockLists,e=a.adObjectsList,f=a.canBoostCatalogOnMarketplaceForAdObject;return b("immutable").Map(e.map(function(a){var e,g=a.campaignGroup.buying_type,h=a.campaignGroup.objective;e=(e=a.campaign.promoted_object)==null?void 0:e.object_store_url;g=b("AdsPlacementEligibilityInfoUtils").buildEligibilityInformationFromCampaignSpec(a.campaign,g,c.capabilities,h,d,e,void 0,void 0,f(a));return[a.campaign.id,g]}))},{name:e.id+".eligibilityInformationMap"});f=b("adsCreateSelector")([d],function(a){return a.toArray()},{name:e.id+".eligibilityInformationArray"});a=b("adsCreateSelector")([f],function(a){return a.map(function(a){return a.spec})},{name:e.id+".placementSpecs"});var h=b("adsCreateSelector")([b("adsUEditorSelectedRawCampaignsSelector")],function(a){return a.map(function(a){return b("AdsPlacementAPISpecReaderUtils").convertCampaignRecordToPlacementSpec(a)})},{name:e.id+".rawPlacementSpecs"}),i=b("adsCreateSelector")([b("adsUEditorSelectedRawCampaignsSelector")],function(a){return b("immutable").Map(a.map(function(a){return[a.id,b("AdsPlacementAPISpecReaderUtils").convertCampaignRecordToPlacementSpec(a)]}))},{name:e.id+".rawPlacementSpecsMap"});i=b("adsCreateSelector")([d,i],function(b,a){return b.map(function(b,c){c=a.get(c);return babelHelpers["extends"]({},b,{spec:c})})},{name:e.id+".rawEligibilityInformationMap"});var j=function(a){return b("adsCreateSelector")([b("adsUEditorAdObjectsForSelectedCampaignsSelector")],function(b){return b.some(a)},{name:e.id})},k=function(a){return b("adsCreateSelector")([b("adsUEditorAdObjectsForSelectedCampaignsSelector")],function(b){return b.every(a)},{name:e.id})},l=function(a){return b("adsCreateSelector")([j(a)],function(a){return!a},{name:e.id})},m=function(a){return b("adsCreateSelector")([b("adsUEditorAdObjectsForSelectedCampaignsSelector")],function(b){return b.filter(a)},{name:e.id})},n=function(a){return b("adsCreateSelector")([b("adsUEditorAdObjectsForSelectedCampaignsSelector")],function(b){return b.map(a)},{name:e.id})},o=function(a){return b("adsCreateSelector")([b("adsUEditorAdObjectsForSelectedCampaignsSelector")],function(c){return b("immutable").Map(c.map(function(b,c,d){return[b.campaign.id,a(b,c,d)]}))},{name:e.id})},p=function(a){return b("adsCreateSelector")([b("adsUEditorSelectedCampaignsSelector")],function(b){return b.some(a)},{name:e.id})},q=function(a){return b("adsCreateSelector")([b("adsUEditorSelectedCampaignsSelector")],function(b){return b.every(a)},{name:e.id})},r=function(a){return b("adsCreateSelector")([p(a)],function(a){return!a},{name:e.id})},s=function(a){return b("adsCreateSelector")([b("adsUEditorSelectedCampaignsSelector")],function(b){return b.filter(a)},{name:e.id})},t=function(a){return b("adsCreateSelector")([b("adsUEditorSelectedCampaignsSelector")],function(b){return b.map(a)},{name:e.id})},u=function(a){return b("adsCreateSelector")([b("adsUEditorSelectedCampaignsSelector")],function(c){return b("immutable").Map(c.map(function(b,c,d){return[b.id,a(b,c,d)]}))},{name:e.id})},v=b("adsCreateSelector")([b("adsUEditorAdObjectsForSelectedCampaignsSelector"),b("AdsPromotedObjectTypeUIProvider").toFluxSelector()],function(a,c){return b("immutable").Map(a.map(function(a){var d=a.campaignGroup;a=a.campaign;d=d.objective;var e=c.get(a.id);return[a.id,b("AdsAPICampaignRecordUtils").getPromotedObjectType(d,a,e)]}))},{name:e.id+".derivedPromotedObjectTypesMap"});e.exports={eligibilityInformation:c,eligibilityInformationArray:f,eligibilityInformationMap:d,placementSpecs:a,derivedPromotedObjectTypesMap:v,rawPlacementSpecs:h,rawEligibilityInformationMap:i,adObjectsList:{some:b("adsMemoizeByReference")(j,e.id),every:b("adsMemoizeByReference")(k,e.id),none:b("adsMemoizeByReference")(l,e.id),filter:b("adsMemoizeByReference")(m,e.id),map:b("adsMemoizeByReference")(n,e.id),mapTransform:b("adsMemoizeByReference")(o,e.id)},campaigns:{some:b("adsMemoizeByReference")(p,e.id),every:b("adsMemoizeByReference")(q,e.id),none:b("adsMemoizeByReference")(r,e.id),filter:b("adsMemoizeByReference")(s,e.id),map:b("adsMemoizeByReference")(t,e.id),mapTransform:b("adsMemoizeByReference")(u,e.id)}}}),null); __d("adsUEditorAccountIDSelector",["adsCreateSelector","adsUEditorAccountSelector_LEGACY"],(function(a,b,c,d,e,f){"use strict";a=b("adsCreateSelector")([b("adsUEditorAccountSelector_LEGACY")],function(a){return a.account_id},{name:e.id+".adsUEditorAccountIDSelector"});e.exports=a}),null); __d("AdsCallToActionTypesUtils",["AdsCallToActionTypes","AdsLegacyObjectivesUtils","isFalsey"],(function(a,b,c,d,e,f){"use strict";__p&&__p();function a(){__p&&__p();var a={},c=function(c){if(!Object.prototype.hasOwnProperty.call(b("AdsCallToActionTypes").TYPES,c))return"continue";var d=b("AdsCallToActionTypes").TYPES[c];c=d.objectives;c.forEach(function(b){a[b]||(a[b]=[]),a[b].push(d)})};for(var d in b("AdsCallToActionTypes").TYPES){var e=c(d);if(e==="continue")continue}for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&a[f].sort(function(a,b){return a.name.localeCompare(b.name)});return a}var g=a();c={typesForObjective:function(a,c,d,e){if(b("isFalsey")(a))return[];d=b("AdsLegacyObjectivesUtils").convertToLegacyAppObjectives_HACK(a,c,e);return g[d]?g[d].slice(0):[]}};e.exports=c}),null); __d("TooltipMixin",["DOM","React","ReactDOM","TooltipData"],(function(a,b,c,d,e,f){__p&&__p();a=b("React").PropTypes;function g(a){a=a.tooltip;return a!=null&&b("React").isValidElement(a)}c={propTypes:{children:a.node,tooltip:a.oneOfType([a.element,a.string]),position:a.oneOf(["above","below","left","right"]),alignH:a.oneOf(["left","center","right"])},getInitialState:function(){return{tooltipContainer:g(this.props)?b("DOM").create("div"):null}},UNSAFE_componentWillReceiveProps:function(a){a=g(a);var c=this.state.tooltipContainer;c&&!a?this.setState({tooltipContainer:null}):!c&&a&&this.setState({tooltipContainer:b("DOM").create("div")})},componentDidMount:function(){this._updateTooltip()},componentDidUpdate:function(a,b){b.tooltipContainer&&!this.state.tooltipContainer&&this._cleanupContainer(b.tooltipContainer),this._updateTooltip()},_updateTooltip:function(){var a;g(this.props)?(a=this.state.tooltipContainer,b("ReactDOM").render(this.props.tooltip,a)):a=this.props.tooltip;a!=null?b("TooltipData").set(b("ReactDOM").findDOMNode(this),a,this.props.position,this.props.alignH):b("TooltipData").remove(b("ReactDOM").findDOMNode(this))},componentWillUnmount:function(){this.state.tooltipContainer&&this._cleanupContainer(this.state.tooltipContainer),b("TooltipData").remove(b("ReactDOM").findDOMNode(this))},_cleanupContainer:function(a){b("ReactDOM").unmountComponentAtNode(a)}};e.exports=c}),null); __d("ContextualLayerHideOnScrollOverHeader.atlas",["Event","SubscriptionsHandler"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(){__p&&__p();function a(a){this.$1=a}var c=a.prototype;c.enable=function(){if(!this.$4){var a=new(b("SubscriptionsHandler"))();a.addSubscriptions(this.$1.subscribe("contextchange",this.$5.bind(this)),this.$1.subscribe("show",this.$6.bind(this)),this.$1.subscribe("hide",this.$7.bind(this)));this.$4=a}};c.disable=function(){this.$4&&(this.$4.release(),this.$4=void 0),this.$7()};c.$6=function(){if(!this.$2){this.$3=this.$1.getContextScrollParent();if(this.$3===window)return;this.$2=b("Event").listen(this.$3,"scroll",this.$8.bind(this))}};c.$7=function(){this.$2&&(this.$2.remove(),this.$2=void 0,this.$3=void 0)};c.$8=function(){var a=this.$3;if(!this.$2||!a)return;var b=this.$1.getContent().getBoundingClientRect();a=a.getBoundingClientRect();b=b.topb("Scroll").getTop(c);c||a.scrollIntoView(!1)}},render:function(){var a=this.props.entry.getSubtitle(),c=b("React").createElement("div",null,this.props.getLeftContentForEntry?this.props.getLeftContentForEntry(this.props.entry,this.props.selected):null,b("React").createElement(b("TextWithHighlights.atlas"),{className:"_4ku0",highlight:this.props.queryString,text:this.props.entry.getTitle(),size:"s",color:this.props.disabled?"light":"dark",display:this.props.getLeftContentForEntry?"inline":"block"}),a?b("React").createElement(b("TextWithHighlights.atlas"),{className:"_4ku1",color:"light",display:"block",highlight:this.props.queryString,size:"s",text:a}):null);c=this.props.disabled?b("React").createElement(b("Layout.react"),null,b("React").createElement(i,null,c),b("React").createElement(h,null,b("React").createElement(b("Text.atlas"),{size:"s",color:"light",display:"block"}," ","?"," "))):c;a="_4ku2"+(this.props.highlighted?" _4ku3":"")+(this.props.selected?" _4ku4":"")+(a?"":" _4ku5");return b("React").createElement("div",{className:a,"data-testid":"SearchableListPrompt/item",onMouseDown:this.props.disabled?null:this._onSelect,onMouseEnter:this._onHighlight},c)}});e.exports=d}),null); __d("SearchableDropdownInput.contrib",["cx","AbstractSearchSource","ContextualLayer.react","ContextualLayerAutoFlip","ContextualLayerHideOnScrollOverHeader.atlas","ContextualLayerUpdateOnScroll","Keys","LayerAutoFocus","LayerHideOnBlur","LayerHideOnEscape","React","ReactComponentWithPureRenderMixin","ReactDOM","ReactLayeredComponentMixin_DEPRECATED","SearchableListPrompt.contrib","SUIAtlasTheme","SUICardDEPRECATED.react","Text.atlas","XUIPopoverButton.react","joinClasses"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=b("React").PropTypes;c=b("React").createClass({displayName:"SearchableDropdownInput",propTypes:{onSelect:a.func.isRequired,resetQueryStringOnSelect:a.bool.isRequired,searchSource:a.instanceOf(b("AbstractSearchSource")).isRequired,showSelectedSubtitle:a.bool.isRequired,"data-testid":a.string,customHeader:a.element,chevron:a.element,disabled:a.bool,disabledEntryIDs:a.instanceOf(Set),dropdownWidth:a.number,emptySearchResultsText:a.node,excludedEntries:a.object,header:a.node,headerClassName:a.string,maxEntries:a.number,placeholder:a.node,searchSourceOptions:a.object,showEntriesBeforeSearch:a.bool,skipAutoWidth:a.bool,title:a.string,maxWidth:a.number,getLeftContentForEntry:a.func,searchPlaceholder:a.node},mixins:[b("ReactComponentWithPureRenderMixin"),b("ReactLayeredComponentMixin_DEPRECATED")],getDefaultProps:function(){return{resetQueryStringOnSelect:!1,showSelectedSubtitle:!0}},getInitialState:function(){return{isShowing:!1}},_onLayerToggle:function(a){!a&&this.state.isShowing&&(this.setState({isShowing:!1}),this.focusInput())},_toggleLayer:function(){this.props.disabled||this.setState({isShowing:!this.state.isShowing})},_onKeyDown:function(a){switch(a.keyCode){case b("Keys").DOWN:case b("Keys").UP:case b("Keys").SPACE:this.setState({isShowing:!0});break}},open:function(){this.setState({isShowing:!0})},close:function(){this.setState({isShowing:!1})},focusInput:function(){this.refs&&b("ReactDOM").findDOMNode(this.refs.button).focus()},_onSelect:function(a){this.setState({isShowing:!1}),this.focusInput(),this.props.onSelect(a)},renderLayers:function(){var a=this,c;this.props.skipAutoWidth||(c=b("ReactDOM").findDOMNode(this.refs.button).offsetWidth);c=this.props.dropdownWidth||c||null;return{prompt:b("React").createElement(b("ContextualLayer.react"),{behaviors:{ContextualLayerAutoFlip:b("ContextualLayerAutoFlip"),ContextualLayerUpdateOnScroll:b("ContextualLayerUpdateOnScroll"),ContextualLayerHideOnScrollOverHeader:b("ContextualLayerHideOnScrollOverHeader.atlas"),LayerAutoFocus:b("LayerAutoFocus"),LayerHideOnBlur:b("LayerHideOnBlur"),LayerHideOnEscape:b("LayerHideOnEscape")},contextRef:function(){return a.refs.button},position:"below",alignment:"left",offsetY:4,shown:this.state.isShowing,autofocus:!0,onToggle:this._onLayerToggle},b("React").createElement("div",{style:{width:c},className:this.props.divClassName,onFocus:this.props.onFocus},b("React").createElement(b("SUICardDEPRECATED.react"),{className:this.props.listClassName,theme:b("SUIAtlasTheme"),type:"fullbleed"},this.props.customHeader,b("React").createElement(b("SearchableListPrompt.contrib"),{disabledEntryIDs:this.props.disabledEntryIDs,emptySearchResultsText:this.props.emptySearchResultsText,excludedEntries:this.props.excludedEntries,header:this.props.header,headerClassName:this.props.headerClassName,maxEntries:this.props.maxEntries,onSelect:this._onSelect,resetQueryStringOnSelect:this.props.resetQueryStringOnSelect,searchSource:this.props.searchSource,placeholder:this.props.searchPlaceholder,searchSourceOptions:this.props.searchSourceOptions,selectedEntry:this.props.value,showEntriesBeforeSearch:this.props.showEntriesBeforeSearch,getLeftContentForEntry:this.props.getLeftContentForEntry}))))}},render:function(){var a=this.props.placeholder,c=this.props.value;if(c){var d=this.props.title||c.getTitle();c=this.props.showSelectedSubtitle&&c.getSubtitle()?b("React").createElement(b("Text.atlas"),{color:"light",size:"s"}," ",c.getSubtitle()):null;a=b("React").createElement("span",null,d,c)}return b("React").createElement(b("XUIPopoverButton.react"),{className:b("joinClasses")(this.props.className,"__yl"),chevron:this.props.chevron,"data-testid":this.props["data-testid"],disabled:this.props.disabled,ref:"button",label:a,onClick:this._toggleLayer,onKeyDown:this._onKeyDown,size:"large",maxwidth:this.props.maxWidth?this.props.maxWidth:null})}});e.exports=c}),null); __d("SUITokenizerToken.react",["DraggableToken.react","React","SearchableEntry","SUIComponent","SUITheme","SUIToken.react"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=b("React").PropTypes;c=function(a){babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){return b("React").createElement(b("DraggableToken.react"),{className:this.props.className,entry:this.props.entry,index:this.props.index,isDragDropEnabled:this.props.isDragDropEnabled,onTokenDragEnd:this.props.onTokenDragEnd,onTokenDragLeave:this.props.onTokenDragLeave,onTokenDragOver:this.props.onTokenDragOver,onTokenDragStart:this.props.onTokenDragStart,onTokenDrop:this.props.onTokenDrop},b("React").createElement(b("SUIToken.react"),{disabled:this.props.disabled,entry:this.props.entry,getHovercardURI:this.props.getHovercardURI,icon:this.props.icon,isDragDropEnabled:this.props.isDragDropEnabled,label:this.props.label,onClick:this.props.onClick,onRemove:this.props.onRemove,tooltip:this.props.tooltip}))};return c}(b("SUIComponent"));c.propTypes={disabled:a.bool,entry:a.instanceOf(b("SearchableEntry")),getHovercardURI:a.func,label:a.node.isRequired,onRemove:a.func,theme:a.instanceOf(b("SUITheme"))};e.exports=c}),null); __d("SUITokenizer.react",["cx","AbstractTokenizer.react","ContextualLayerAutoFlip","ContextualLayerUpdateOnScroll","React","SUIComponent","SUIErrorComponentUtil","SUITheme","SUITokenizerItemList.react","SUITokenizerToken.react","SUITypeaheadNavigation","autoFlipStyleProps","emptyFunction","joinClasses","prop-types"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=b("AbstractTokenizer.react").propTypes;a.excludeTokenEntries;a.extraTypeaheadProps;a.onAddEntryAttempt;a.onRemoveEntryAttempt;a.presenter;a.shouldClearQueryStringAfterSelect;a.typeaheadInputStyle;c=babelHelpers.objectWithoutPropertiesLoose(a,["excludeTokenEntries","extraTypeaheadProps","onAddEntryAttempt","onRemoveEntryAttempt","presenter","shouldClearQueryStringAfterSelect","typeaheadInputStyle"]);d=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){__p&&__p();var c,d,e,f;for(var g=arguments.length,h=new Array(g),i=0;i3?d-3:0),f=3;f0;b--)d=0,c=1<